﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace SkynetMongoDBAccess
{
    /// <summary>
    /// Mongodb 文件实体
    /// </summary>
    ///<remarks>
    /// 作者：         李志强
    /// 开发时间：  2011-04-18
    /// </remarks>
    [Serializable]
    public class GridFileEntity
    {
        public string filename { get; set; }
        public string chunkSize { get; set; }
        public string contentType { get; set; }
        public DateTime uploadDate { get; set; }
        public string length { get; set; }
        public string id { get; set; }
        public string md5 { get; set; }
    }
    /// <summary>
    /// DB用户实体
    /// </summary>
    ///<remarks>
    /// 作者：         李志强
    /// 开发时间：  2011-04-18
    /// </remarks>
    [Serializable]
    public class UserEntity
    {
        public string User { get; set; }
        public string Pwd { get; set; }
        public bool IsReadOnly { get; set; }
    }
}
